//
//  MBProgressHUD+Add.h
//  视频客户端
//
//  Created by mj on 13-4-18.
//  Copyright (c) 2013年 itcast. All rights reserved.
//

#import "MBProgressHUD.h"

@interface MBProgressHUD (Add)
+ (void)showError:(NSString *)error toView:(UIView *)view;
+ (void)showSuccess:(NSString *)success toView:(UIView *)view;

+ (MBProgressHUD *)showMessag:(NSString *)message toView:(UIView *)view;

+ (void)ShowWithText:(NSString *)text fromView:(UIView *)view;

+ (void)hidFormView:(UIView *)view;

+ (void)hidFormView:(UIView *)view afterDelay:(CGFloat)delay;

+ (void)showLoadingToView:(UIView *)view;

+ (void)showText:(NSString *)text toView:(UIView *)view;

+ (void)showLongText:(NSString *)text toView:(UIView *)view;

+ (void)showText:(NSString *)text toView:(UIView *)view finish:(void (^)(void))finish;
@end
